Determining the number of clusters

Elbow Methods

/assets/images/K-Means-1.png|400

WCSS is the sum of squared distance between each point and the centroid in a cluster (i.e. cost function):

WCSS=Cluster j Pointi in Cluster j distance(Pi,Cj)2

K-Means-2.png|600

Silhouette score

see Error Metrics#^47335a

Gap statistic method